# Author    : CoffeeChicken
# Date      : 2021/5/26 17:12
# Function  : 演示

import json

with open('plants_number.txt', 'r') as f:
    txt = f.read()
    number_list = txt.split('\n')
    # print(number_list)

with open('imagenet_class_index.json', 'r') as f:
    content = f.read()
    jsons = json.loads(content)
    # print(jsons)

animal_txt = ''

for i in number_list:
    print('"' + jsons[i][0] + '"' + ',', end='')

print()
for i in number_list:
    print('"' + jsons[i][1] + '"' + ',', end='')
